<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>充值USDT - USDTMarket</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
    
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#165DFF',
                        success: '#36D399',
                        danger: '#F87272',
                        dark: '#1E293B',
                        light: '#F1F5F9',
                        'dark-blue': '#0F172A',
                        'light-blue': '#E0E7FF',
                    },
                    fontFamily: {
                        inter: ['Inter', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .scrollbar-hide {
                -ms-overflow-style: none;
                scrollbar-width: none;
            }
            .scrollbar-hide::-webkit-scrollbar {
                display: none;
            }
            .glass {
                background: rgba(255, 255, 255, 0.2);
                backdrop-filter: blur(10px);
                -webkit-backdrop-filter: blur(10px);
            }
            .card-hover {
                transition: all 0.3s ease;
            }
            .card-hover:hover {
                transform: translateY(-3px);
                box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
            }
            .network-card.active {
                border-color: theme('colors.primary');
                background-color: theme('colors.primary/10');
            }
            .network-card.active .network-icon {
                background-color: theme('colors.primary');
                color: white;
            }
        }
    </style>
</head>
<body class="font-inter bg-gradient-to-br from-dark-blue to-dark min-h-screen text-light">
    <!-- 导航栏 -->
    <header class="fixed top-0 left-0 right-0 z-50 transition-all duration-300" id="navbar">
        <div class="container mx-auto px-4 py-3 flex items-center justify-between glass border-b border-white/10">
            <div class="flex items-center space-x-2">
                <div class="w-10 h-10 rounded-lg bg-primary flex items-center justify-center">
                    <i class="fa fa-exchange text-white text-xl"></i>
                </div>
                <h1 class="text-xl font-bold bg-gradient-to-r from-primary to-success bg-clip-text text-transparent">USDT<span class="text-sm font-normal ml-1">Market</span></h1>
            </div>
            
            <nav class="hidden md:flex items-center space-x-8">
                <a href="#" class="text-white/70 hover:text-primary transition-colors">首页</a>
                <a href="#" class="text-white/70 hover:text-primary transition-colors">购买USDT</a>
                <a href="#" class="text-white/70 hover:text-primary transition-colors">出售USDT</a>
                <a href="#" class="text-white/70 hover:text-primary transition-colors">交易记录</a>
                <a href="#" class="text-primary font-medium">充值USDT</a>
            </nav>
            
            <div class="flex items-center space-x-4">
                <div class="relative">
                    <button class="flex items-center space-x-2 px-4 py-2 rounded-lg bg-primary/20 text-primary hover:bg-primary/30 transition-colors">
                        <i class="fa fa-user-circle-o text-xl"></i>
                        <span class="hidden md:inline">用户12345</span>
                        <i class="fa fa-angle-down"></i>
                    </button>
                </div>
                <button class="md:hidden text-white text-xl">
                    <i class="fa fa-bars"></i>
                </button>
            </div>
        </div>
    </header>

    <!-- 主内容区 -->
    <main class="container mx-auto px-4 pt-24 pb-16">
        <!-- 面包屑导航 -->
        <div class="mb-8 text-sm text-white/60">
            <a href="#" class="hover:text-primary transition-colors">首页</a> &gt; <span class="text-white">充值USDT</span>
        </div>
        
        <!-- 页面标题 -->
        <div class="mb-12 text-center">
            <h2 class="text-[clamp(1.8rem,4vw,2.5rem)] font-bold mb-4">充值USDT到您的账户</h2>
            <p class="text-white/80 max-w-2xl mx-auto">选择合适的区块链网络，获取充值地址，将USDT转入您的账户</p>
        </div>
        
        <!-- 账户余额 -->
        <div class="bg-dark-blue rounded-2xl p-6 border border-white/10 mb-12 max-w-3xl mx-auto">
            <div class="flex flex-col md:flex-row justify-between items-center">
                <div>
                    <h3 class="text-lg font-medium text-white/70 mb-1">当前USDT账户余额</h3>
                    <p class="text-3xl font-bold">1,250.00 <span class="text-lg font-normal text-white/60">USDT</span></p>
                </div>
                <a href="usdt.html" class="mt-4 md:mt-0 px-6 py-3 bg-primary text-white rounded-lg hover:bg-primary/90 transition-colors font-medium flex items-center justify-center gap-2">
                    <i class="fa fa-history mr-1"></i> 查看充值记录
                </a>
            </div>
            <div class="mt-6 p-4 bg-dark rounded-lg border border-white/10">
                <h4 class="text-sm font-medium text-white/70 mb-3 flex items-center">
                    <i class="fa fa-info-circle text-primary mr-2"></i> 充值提示
                </h4>
                <ul class="text-sm space-y-2 text-white/70">
                    <li><i class="fa fa-check-circle text-success mr-2"></i> 请确认您转入的USDT与选择的网络一致，错误网络可能导致资产丢失</li>
                    <li><i class="fa fa-check-circle text-success mr-2"></i> 充值到账时间取决于区块链网络确认速度，通常为5-30分钟</li>
                    <li><i class="fa fa-check-circle text-success mr-2"></i> 充值最低金额为10 USDT，无最高限制</li>
                    <li><i class="fa fa-check-circle text-success mr-2"></i> 平台不收取充值手续费，但区块链网络可能收取矿工费</li>
                </ul>
            </div>
        </div>
        
        <!-- 充值网络选择 -->
        <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-12">
            <!-- TRC-20网络 -->
            <div class="network-card bg-dark-blue rounded-xl p-6 border border-white/10 card-hover cursor-pointer" onclick="selectNetwork('trc20')">
                <div class="flex items-start">
                    <div class="network-icon w-12 h-12 rounded-lg bg-primary/20 flex items-center justify-center text-primary mr-4">
                        <i class="fa fa-link text-xl"></i>
                    </div>
                    <div>
                        <h3 class="text-lg font-bold mb-1">TRC-20 (波场)</h3>
                        <p class="text-white/70 text-sm mb-3">转账速度快，手续费低</p>
                        <div class="flex items-center text-sm">
                            <span class="text-success mr-2"><i class="fa fa-check-circle"></i> 推荐</span>
                            <span class="text-white/60">确认时间: 10-30秒</span>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- ERC-20网络 -->
            <div class="network-card bg-dark-blue rounded-xl p-6 border border-white/10 card-hover cursor-pointer" onclick="selectNetwork('erc20')">
                <div class="flex items-start">
                    <div class="network-icon w-12 h-12 rounded-lg bg-primary/20 flex items-center justify-center text-primary mr-4">
                        <i class="fa fa-cube text-xl"></i>
                    </div>
                    <div>
                        <h3 class="text-lg font-bold mb-1">ERC-20 (以太坊)</h3>
                        <p class="text-white/70 text-sm mb-3">兼容性强，支持大多数DeFi应用</p>
                        <div class="flex items-center text-sm">
                            <span class="text-white/60 mr-2"><i class="fa fa-info-circle"></i></span>
                            <span class="text-white/60">确认时间: 5-10分钟</span>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- BEP-20网络 -->
            <div class="network-card bg-dark-blue rounded-xl p-6 border border-white/10 card-hover cursor-pointer" onclick="selectNetwork('bep20')">
                <div class="flex items-start">
                    <div class="network-icon w-12 h-12 rounded-lg bg-primary/20 flex items-center justify-center text-primary mr-4">
                        <i class="fa fa-btc text-xl"></i>
                    </div>
                    <div>
                        <h3 class="text-lg font-bold mb-1">BEP-20 (币安智能链)</h3>
                        <p class="text-white/70 text-sm mb-3">速度快，费用低</p>
                        <div class="flex items-center text-sm">
                            <span class="text-white/60 mr-2"><i class="fa fa-info-circle"></i></span>
                            <span class="text-white/60">确认时间: 5-10秒</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 充值地址显示 -->
        <div id="trc20-address" class="bg-dark-blue rounded-2xl p-6 border border-white/10 mb-12 max-w-4xl mx-auto">
            <div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-6">
                <div class="flex items-center mb-4 md:mb-0">
                    <div class="w-12 h-12 rounded-lg bg-primary flex items-center justify-center text-white mr-4">
                        <i class="fa fa-link text-xl"></i>
                    </div>
                    <div>
                        <h3 class="text-xl font-bold">TRC-20 (波场) 充值地址</h3>
                        <p class="text-white/70">请将USDT从其他钱包转入此地址</p>
                    </div>
                </div>
                <button class="px-4 py-2 bg-dark rounded-lg border border-white/10 text-white hover:bg-white/10 transition-colors flex items-center gap-2 text-sm">
                    <i class="fa fa-refresh mr-1"></i> 刷新地址
                </button>
            </div>
            
            <div class="bg-dark rounded-xl p-6 border border-white/10 mb-6">
                <div class="flex flex-col md:flex-row justify-between items-center">
                    <div class="mb-4 md:mb-0">
                        <p class="text-white/70 text-sm mb-1">充值地址</p>
                        <p class="font-bold text-lg" id="trc20-address-text">TUSDTPH9mz3gN2n89GpN2k5d6b9p8J41D</p>
                    </div>
                    <div class="flex space-x-3">
                        <button class="px-4 py-2 bg-primary text-white rounded-lg hover:bg-primary/90 transition-colors flex items-center justify-center gap-1 text-sm" onclick="copyAddress('trc20')">
                            <i class="fa fa-copy mr-1"></i> 复制地址
                        </button>
                        <button class="px-4 py-2 bg-dark rounded-lg border border-white/10 text-white hover:bg-white/10 transition-colors flex items-center justify-center gap-1 text-sm">
                            <i class="fa fa-qrcode mr-1"></i> 显示二维码
                        </button>
                    </div>
                </div>
            </div>
            
            <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
                <div class="bg-dark rounded-xl p-4 border border-white/10">
                    <p class="text-white/70 text-sm mb-1">最小充值</p>
                    <p class="font-bold">10 USDT</p>
                </div>
                <div class="bg-dark rounded-xl p-4 border border-white/10">
                    <p class="text-white/70 text-sm mb-1">网络手续费</p>
                    <p class="font-bold text-success">免费</p>
                </div>
                <div class="bg-dark rounded-xl p-4 border border-white/10">
                    <p class="text-white/70 text-sm mb-1">确认时间</p>
                    <p class="font-bold">10-30秒</p>
                </div>
            </div>
        </div>
        
        <!-- ERC-20充值地址显示 -->
        <div id="erc20-address" class="bg-dark-blue rounded-2xl p-6 border border-white/10 mb-12 max-w-4xl mx-auto" style="display: none;">
            <div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-6">
                <div class="flex items-center mb-4 md:mb-0">
                    <div class="w-12 h-12 rounded-lg bg-primary flex items-center justify-center text-white mr-4">
                        <i class="fa fa-cube text-xl"></i>
                    </div>
                    <div>
                        <h3 class="text-xl font-bold">ERC-20 (以太坊) 充值地址</h3>
                        <p class="text-white/70">请将USDT从其他钱包转入此地址</p>
                    </div>
                </div>
                <button class="px-4 py-2 bg-dark rounded-lg border border-white/10 text-white hover:bg-white/10 transition-colors flex items-center gap-2 text-sm">
                    <i class="fa fa-refresh mr-1"></i> 刷新地址
                </button>
            </div>
            
            <div class="bg-dark rounded-xl p-6 border border-white/10 mb-6">
                <div class="flex flex-col md:flex-row justify-between items-center">
                    <div class="mb-4 md:mb-0">
                        <p class="text-white/70 text-sm mb-1">充值地址</p>
                        <p class="font-bold text-lg" id="erc20-address-text">0xUSDT6b9p8J41D9mz3gN2n89GpN2k5d6b9p8J41D</p>
                    </div>
                    <div class="flex space-x-3">
                        <button class="px-4 py-2 bg-primary text-white rounded-lg hover:bg-primary/90 transition-colors flex items-center justify-center gap-1 text-sm" onclick="copyAddress('erc20')">
                            <i class="fa fa-copy mr-1"></i> 复制地址
                        </button>
                        <button class="px-4 py-2 bg-dark rounded-lg border border-white/10 text-white hover:bg-white/10 transition-colors flex items-center justify-center gap-1 text-sm">
                            <i class="fa fa-qrcode mr-1"></i> 显示二维码
                        </button>
                    </div>
                </div>
            </div>
            
            <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
                <div class="bg-dark rounded-xl p-4 border border-white/10">
                    <p class="text-white/70 text-sm mb-1">最小充值</p>
                    <p class="font-bold">10 USDT</p>
                </div>
                <div class="bg-dark rounded-xl p-4 border border-white/10">
                    <p class="text-white/70 text-sm mb-1">网络手续费</p>
                    <p class="font-bold text-success">免费</p>
                </div>
                <div class="bg-dark rounded-xl p-4 border border-white/10">
                    <p class="text-white/70 text-sm mb-1">确认时间</p>
                    <p class="font-bold">5-10分钟</p>
                </div>
            </div>
        </div>
        
        <!-- BEP-20充值地址显示 -->
        <div id="bep20-address" class="bg-dark-blue rounded-2xl p-6 border border-white/10 mb-12 max-w-4xl mx-auto" style="display: none;">
            <div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-6">
                <div class="flex items-center mb-4 md:mb-0">
                    <div class="w-12 h-12 rounded-lg bg-primary flex items-center justify-center text-white mr-4">
                        <i class="fa fa-btc text-xl"></i>
                    </div>
                    <div>
                        <h3 class="text-xl font-bold">BEP-20 (币安智能链) 充值地址</h3>
                        <p class="text-white/70">请将USDT从其他钱包转入此地址</p>
                    </div>
                </div>
                <button class="px-4 py-2 bg-dark rounded-lg border border-white/10 text-white hover:bg-white/10 transition-colors flex items-center gap-2 text-sm">
                    <i class="fa fa-refresh mr-1"></i> 刷新地址
                </button>
            </div>
            
            <div class="bg-dark rounded-xl p-6 border border-white/10 mb-6">
                <div class="flex flex-col md:flex-row justify-between items-center">
                    <div class="mb-4 md:mb-0">
                        <p class="text-white/70 text-sm mb-1">充值地址</p>
                        <p class="font-bold text-lg" id="bep20-address-text">bnb1USDT6b9p8J41D9mz3gN2n89GpN2k5d6b9p8J41D</p>
                    </div>
                    <div class="flex space-x-3">
                        <button class="px-4 py-2 bg-primary text-white rounded-lg hover:bg-primary/90 transition-colors flex items-center justify-center gap-1 text-sm" onclick="copyAddress('bep20')">
                            <i class="fa fa-copy mr-1"></i> 复制地址
                        </button>
                        <button class="px-4 py-2 bg-dark rounded-lg border border-white/10 text-white hover:bg-white/10 transition-colors flex items-center justify-center gap-1 text-sm">
                            <i class="fa fa-qrcode mr-1"></i> 显示二维码
                        </button>
                    </div>
                </div>
            </div>
            
            <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
                <div class="bg-dark rounded-xl p-4 border border-white/10">
                    <p class="text-white/70 text-sm mb-1">最小充值</p>
                    <p class="font-bold">10 USDT</p>
                </div>
                <div class="bg-dark rounded-xl p-4 border border-white/10">
                    <p class="text-white/70 text-sm mb-1">网络手续费</p>
                    <p class="font-bold text-success">免费</p>
                </div>
                <div class="bg-dark rounded-xl p-4 border border-white/10">
                    <p class="text-white/70 text-sm mb-1">确认时间</p>
                    <p class="font-bold">5-10秒</p>
                </div>
            </div>
        </div>
        
        <!-- 充值记录 -->
        <div class="bg-dark-blue rounded-2xl p-6 border border-white/10 max-w-5xl mx-auto">
            <div class="flex justify-between items-center mb-6">
                <h3 class="text-xl font-bold">最近充值记录</h3>
                <button class="text-primary text-sm hover:underline">查看全部记录</button>
            </div>
            
            <div class="space-y-4">
                <!-- 记录1 -->
                <div class="bg-dark rounded-xl p-4 border border-white/10">
                    <div class="flex justify-between items-center mb-3">
                        <div>
                            <p class="font-medium">TRC-20 充值</p>
                            <p class="text-white/60 text-sm">2023-06-25 14:30:22</p>
                        </div>
                        <span class="text-success font-medium">+500.00 USDT</span>
                    </div>
                    <div class="text-sm text-white/70">
                        <p class="mb-2">交易ID: <span class="text-white">#TRX-20230625-12345</span></p>
                        <p>状态: <span class="text-success">已完成</span></p>
                    </div>
                </div>
                
                <!-- 记录2 -->
                <div class="bg-dark rounded-xl p-4 border border-white/10">
                    <div class="flex justify-between items-center mb-3">
                        <div>
                            <p class="font-medium">TRC-20 充值</p>
                            <p class="text-white/60 text-sm">2023-06-24 09:15:47</p>
                        </div>
                        <span class="text-success font-medium">+200.00 USDT</span>
                    </div>
                    <div class="text-sm text-white/70">
                        <p class="mb-2">交易ID: <span class="text-white">#TRX-20230624-67890</span></p>
                        <p>状态: <span class="text-success">已完成</span></p>
                    </div>
                </div>
                
                <!-- 记录3 -->
                <div class="bg-dark rounded-xl p-4 border border-white/10">
                    <div class="flex justify-between items-center mb-3">
                        <div>
                            <p class="font-medium">ERC-20 充值</p>
                            <p class="text-white/60 text-sm">2023-06-23 16:42:11</p>
                        </div>
                        <span class="text-success font-medium">+300.00 USDT</span>
                    </div>
                    <div class="text-sm text-white/70">
                        <p class="mb-2">交易ID: <span class="text-white">#ETH-20230623-54321</span></p>
                        <p>状态: <span class="text-success">已完成</span></p>
                    </div>
                </div>
            </div>
        </div>
    </main>

    <!-- 页脚 -->
    <footer class="bg-dark-blue border-t border-white/10">
        <div class="container mx-auto px-4 py-12">
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
                <div>
                    <div class="flex items-center space-x-2 mb-4">
                        <div class="w-10 h-10 rounded-lg bg-primary flex items-center justify-center">
                            <i class="fa fa-exchange text-white text-xl"></i>
                        </div>
                        <h2 class="text-xl font-bold bg-gradient-to-r from-primary to-success bg-clip-text text-transparent">USDT<span class="text-sm font-normal ml-1">Market</span></h2>
                    </div>
                    <p class="text-white/60 mb-4">安全、便捷的USDT交易平台，支持多种本币出售，平台担保交易，保障资金安全</p>
                    <div class="flex space-x-4">
                        <a href="#" class="w-8 h-8 rounded-full bg-white/10 flex items-center justify-center text-white hover:bg-primary transition-colors">
                            <i class="fa fa-twitter"></i>
                        </a>
                        <a href="#" class="w-8 h-8 rounded-full bg-white/10 flex items-center justify-center text-white hover:bg-primary transition-colors">
                            <i class="fa fa-telegram"></i>
                        </a>
                        <a href="#" class="w-8 h-8 rounded-full bg-white/10 flex items-center justify-center text-white hover:bg-primary transition-colors">
                            <i class="fa fa-discord"></i>
                        </a>
                        <a href="#" class="w-8 h-8 rounded-full bg-white/10 flex items-center justify-center text-white hover:bg-primary transition-colors">
                            <i class="fa fa-github"></i>
                        </a>
                    </div>
                </div>
                
                <div>
                    <h3 class="text-lg font-bold mb-4">出售服务</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">USDT出售流程</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">设置出售价格</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">添加收款方式</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">认证卖家权益</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">提现到银行卡</a></li>
                    </ul>
                </div>
                
                <div>
                    <h3 class="text-lg font-bold mb-4">资源中心</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">新手教程</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">安全指南</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">常见问题</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">交易规则</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">联系客服</a></li>
                    </ul>
                </div>
                
                <div>
                    <h3 class="text-lg font-bold mb-4">法律合规</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">隐私政策</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">服务条款</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">风险提示</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">合规声明</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">知识产权</a></li>
                    </ul>
                </div>
            </div>
            
            <div class="h-px bg-white/10 my-8"></div>
            
            <div class="flex flex-col md:flex-row justify-between items-center">
                <p class="text-white/60 text-sm mb-4 md:mb-0">© 2023 USDTMarket. 保留所有权利。平台不参与任何资金交易，仅提供信息匹配服务。</p>
                <div class="flex space-x-6">
                    <a href="#" class="text-white/60 hover:text-primary transition-colors text-sm">隐私政策</a>
                    <a href="#" class="text-white/60 hover:text-primary transition-colors text-sm">服务条款</a>
                    <a href="#" class="text-white/60 hover:text-primary transition-colors text-sm">风险提示</a>
                </div>
            </div>
        </div>
    </footer>

    <!-- JavaScript -->
    <script>
        // 导航栏滚动效果
        const navbar = document.getElementById('navbar');
        window.addEventListener('scroll', () => {
            if (window.scrollY > 10) {
                navbar.classList.add('bg-dark-blue/90');
                navbar.classList.add('shadow-lg');
            } else {
                navbar.classList.remove('bg-dark-blue/90');
                navbar.classList.remove('shadow-lg');
            }
        });
        
        // 网络选择功能
        function selectNetwork(network) {
            // 移除所有网络卡片的激活状态
            document.querySelectorAll('.network-card').forEach(card => {
                card.classList.remove('active');
            });
            
            // 添加当前网络卡片的激活状态
            document.querySelector(`.network-card[onclick="selectNetwork('${network}')"]`).classList.add('active');
            
            // 显示对应的充值地址
            document.querySelectorAll('[id$="-address"]').forEach(addressSection => {
                addressSection.style.display = 'none';
            });
            document.getElementById(`${network}-address`).style.display = 'block';
        }
        
        // 复制地址功能
        function copyAddress(network) {
            const addressText = document.getElementById(`${network}-address-text`);
            const textArea = document.createElement('textarea');
            textArea.value = addressText.textContent;
            document.body.appendChild(textArea);
            textArea.select();
            document.execCommand('copy');
            document.body.removeChild(textArea);
            
            // 显示复制成功提示
            const buttons = document.querySelectorAll(`[onclick="copyAddress('${network}')"]`);
            buttons.forEach(button => {
                const originalText = button.innerHTML;
                button.innerHTML = '<i class="fa fa-check mr-1"></i> 已复制';
                button.classList.add('bg-success');
                button.classList.remove('bg-primary');
                
                setTimeout(() => {
                    button.innerHTML = originalText;
                    button.classList.remove('bg-success');
                    button.classList.add('bg-primary');
                }, 2000);
            });
        }
        
        // 页面加载时默认选择TRC-20网络
        document.addEventListener('DOMContentLoaded', () => {
            selectNetwork('trc20');
        });
    </script>
</body>
</html>